package com.yongan.production.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yongan.production.entity.ProcessProcess;

public interface ProcessProcessDao {

	ProcessProcess queryById(String processProcessId);
	
	List<ProcessProcess> queryAll(@Param("offset")int offset,@Param("limit")int limit,@Param("processProcessType")String processProcessType);
	
	int insertProcessProcess(ProcessProcess processProcess);
	
	int deleteProcessProcess(String processProcessId);
	
	int updateProcessProcess(ProcessProcess processProcess);
	
	int queryCount(String type);
	
	int updateRuku(@Param("processProcessIsrk")String processProcessIsrk,@Param("processProcessId")String processProcessId);
	
	int updateLingLiao(@Param("processProcessIsll")String processProcessIsll,@Param("processProcessId")String processProcessId);
}
